#ifndef VOXEL_H
#define VOXEL_H

#include "Objet.h"
#include "Intersection.h"
#include "Rayon.h"
#include <vector>

class Voxel
{
public:
	Voxel();
	void ajouterObjet(Objet *objet);
	Intersection getIntersection(Rayon &r);
	bool getIntersectionCasOmbres(Rayon &r, float &distance);
	std::vector<Objet*> getObjets();
private:
	std::vector<Objet*> objets;
};

#endif